package cn.bugstack.springframework.context.support;

import cn.bugstack.springframework.beans.BeansException;
import cn.bugstack.springframework.beans.factory.ConfigurableListableBeanFactory;

import java.util.Map;

/**
 * @param
 * @author oyz
 * @version 1.1.0
 * @description: 加载应用上下文
 * @date 2022-8-19 16:04
 */
public class ClassPathXmlApplicationContext extends AbStractXmlApplicationContext{


    private String [] configLocations;

    /**
     * @description: TODO
     * @author oyz
     * @param configLocations
     * @date 2022-8-24 15:38
     * @version 1.1.1
     */
    public ClassPathXmlApplicationContext(String[] configLocations) {
        this.configLocations = configLocations;
    }

    /**
     * @description: TODO
     * @author oyz
     * @param configLocations
     * @date 2022-8-24 15:38
     * @version 1.1.1
     */
    public ClassPathXmlApplicationContext(String configLocations) {
        this(new String[]{configLocations});
    }

    @Override
    protected String[] getConfigLocations() {
        return new String[0];
    }



}
